﻿using System.ComponentModel;

namespace Collab.Modules.ContactBrowser.ViewModel
{
    public abstract class ViewModel : INotifyPropertyChanged
    {

        protected void NotifyPropertyChanged(string propertyName)
        {
            if (this.PropertyChanged != null)
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
